//
//  MoodViewController.swift
//  QQ空间
//
//  Created by 叶竞泽 on 2017/5/10.
//  Copyright © 2017年 叶竞泽. All rights reserved.
//

import UIKit

class MoodViewController: UIViewController {

    // MARK: - 生命周期
    
    override func viewDidLoad() {
        super.viewDidLoad()

        view.backgroundColor = UIColor.yellow
        title = "发表说说"
        navigationItem.leftBarButtonItem = UIBarButtonItem(title: "关闭", style: .plain, target: self, action: #selector(exit))
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "发表", style: .plain, target: self, action: nil)
    }
    
    @objc private func exit() {
        dismiss(animated: true) { 
            
        }
    }
}
